{extend name="public:_base" /}
{block name="main"}

<div class="user_conver">

    {include file="public:_right"}

    <!-- 修改密码 -->
    <div class="user_item my_data">
        <!-- 标题 -->
        <div class="user_item_title">
            <i class="glyphicon glyphicon-cog"></i>
            修改密码 <font>MY INFORMATION</font>
        </div>
        <!-- #标题 -->

        <!-- 内容 -->
        <div class="user_item_cont user_info_cont">

            <form class="form form-horizontal" action="{:url('mydata/edit')}" id="form1" method="post">
                <div class="row cl">
                    <label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>{:lang('password')}：</label>
                    <div class="formControls col-xs-10 col-sm-10">
                        <input type="password" class="input-text" placeholder="{:lang('password')}" datatype="*"
                               name="old_password">
                    </div>
                    <div class="col-xs-3 col-ms-3"></div>
                </div>

                <div class="row cl">
                    <label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>{:lang('new password')}：</label>
                    <div class="formControls col-xs-10 col-sm-10">
                        <input type="password" class="input-text" placeholder="{:lang('new password')}" datatype="*6-12"
                               name="password">
                    </div>
                    <div class="col-xs-3 col-ms-3"></div>
                </div>

                <div class="row cl">
                    <label class="form-label col-xs-2 col-sm-2"><span class="c-red">*</span>{:lang('confirm password')}：</label>
                    <div class="formControls col-xs-10 col-sm-10">
                        <input type="password" name="password_confirm" recheck="password" class="input-text" placeholder="{:lang('confirm password')}" datatype="*6-12" errormsg="您两次输入的账号密码不一致！">
                    </div>
                    <div class="col-xs-3 col-ms-3"></div>
                </div>

                <div class="row cl">
                    <div class="col-xs-6 col-sm-6 col-xs-offset-4 col-sm-offset-2">
                        <input class="btn radius btn-primary radius" type="submit" value="&nbsp;&nbsp;{:lang('save')}&nbsp;&nbsp;">
                        <input class="btn radius btn-default radius" type="reset" value="&nbsp;&nbsp;{:lang('cancel')}&nbsp;&nbsp;">
                        </button>
                    </div>
                </div>
            </form>

        </div>
        <!-- #内容 -->
    </div>
    <!-- #修改密码 -->

</div>

{/block}

{block name="js"}
{include file="public/_validform"}
{/block}
